package com.project.demo.controller;

import com.project.demo.service.EvaluateService;
import com.project.demo.vo.EvaluateVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class EvaluateController {
    @Autowired
    private EvaluateService evaluateService;
    @RequestMapping("/evaluate")
    public EvaluateVo evaluateVo(Integer page,Integer limit){
        return evaluateService.FindEvaluateVo(page, limit);
    }
}
